﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ElectricSwitch : SimpleItem_TowSprite
{
    [SerializeField] private PowerSupply powerSupply;

    protected override void Active()
    {
        base.Active();
        powerSupply.Open();
    }

    protected override void UnActive()
    {
        base.UnActive();
        powerSupply.Close();
    }
}
